<?php
echo "127.31 / 10的浮点数余数是:" . fmod( 1127.3, 10 );
echo "<br/>";
echo "-67.25 / 13的浮点数余数是:" . fmod( -67.25, 13 );
echo "<br/>";
echo "128 / 3.15的浮点数余数是:" . fmod( 128, 3.15 );
echo "<br/>";
echo "519.17 / 2.3的浮点数余数是:" . fmod( 519.17, 2.3 );